package com.hyt.it.ogt.kq.service.gov.feign.ks.model;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.hyt.common.apiInfor.DataType;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.time.LocalDateTime;
import java.util.List;

/**
 * <p>
 * 无考场考生信息
 * </p>
 *
 * @author zhoumiao
 * @since 2023-01-10
 */

@Data
@Accessors(chain = true)
@ApiModel(value = "无考场考生信息")
public class KwExamCandidateVO implements Serializable {
    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "考试id", dataType = DataType.STRING)
    private String examId;

    @ApiModelProperty(value = "gov的taskId", dataType = DataType.STRING)
    private String taskId;

    @ApiModelProperty(value = "id", dataType = DataType.STRING)
    private String id;

    /**
     */
    @ApiModelProperty(value = "考生姓名", dataType = DataType.STRING)
    private String name;

    /**
     * 需要去配置项中去找
     */
    @ApiModelProperty(value = "考生性别 0-男 1-女", dataType = DataType.STRING)
    private String sex;

    /**
     * 需要去配置项中去找
     */
    @ApiModelProperty(value = "考生头像", dataType = DataType.STRING)
    private String photo;

    @ApiModelProperty(value = "准考证", dataType = DataType.STRING)
    private String admissionNumber;

    /**
     */
    @ApiModelProperty(value = "证件类型：0-大陆居民身份证，1-港澳台身份证，2-护照", dataType = DataType.STRING)
    private String cardType;

    /**
     */
    @ApiModelProperty(value = "证件号码", dataType = DataType.STRING)
    private String cardNumber;

    /**
     */
    @ApiModelProperty(value = "电话")
    private String phone;

    /**
     * 科目id=examId
     */
    @ApiModelProperty(value = "科目ID", dataType = DataType.STRING)
    private String subjectId;

    /**
     * 考试名称：kw_exam的examName
     */
    @ApiModelProperty(value = "科目名称", dataType = DataType.STRING)
    private String subjectName;

    /**
     * kw_exam表的开始时间
     */
    @ApiModelProperty(value = "考试开始时间", dataType = DataType.DATETIME)
    @JsonFormat(shape = JsonFormat.Shape.STRING, pattern="yyy-MM-dd HH:mm:ss" , timezone="GMT+8")
    private LocalDateTime beginDate;

    /**
     * kw_exam表的结束时间
     */
    @ApiModelProperty(value = "考试结束时间", dataType = DataType.DATETIME)
    @JsonFormat(shape = JsonFormat.Shape.STRING, pattern="yyyy-MM-dd HH:mm:ss" , timezone="GMT+8")
    private LocalDateTime endDate;


    /**
     * 考试id：kw_exam的randomId
     */
    @ApiModelProperty(value = "考试id")
    private Integer randomId;

    @ApiModelProperty(value = "考生的配置项值", dataType = DataType.DATETIME)
    List<KwCandidateCollectInfoVO> kwCandidateCollectInfoVOS;

    @ApiModelProperty(value = "生日")
    private String birthday;

    @ApiModelProperty(value = "邮箱")
    private String email;
}
